/**这个是生成类Key的的类
 * 本文件创建于 :2010-1-1<br>
 * @version 1.0
 */
package com.monlyu.dao;

import java.io.Serializable;
import java.util.Properties;

import org.hibernate.HibernateException;
import org.hibernate.MappingException;
import org.hibernate.dialect.Dialect;
import org.hibernate.engine.SessionImplementor;
import org.hibernate.id.AbstractUUIDGenerator;
import org.hibernate.id.Configurable;
import org.hibernate.type.Type;

/**
 * @author monlyu
 * 
 */
public class KeyMaker extends AbstractUUIDGenerator implements Configurable {

	@Override
	public Serializable generate(SessionImplementor arg0, Object arg1) throws HibernateException {

		return null;
	}

	@Override
	public void configure(Type arg0, Properties arg1, Dialect arg2) throws MappingException {
	}

}
